package sctu.edu.java.year2016.team03.liyouhong.day20160613;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;

import java.io.IOException;

/**
 * Created by Administrator on 2016/6/13 0013.
 */
public class SctuClient {
    public static void main(String[] args) {
        try {
            Document document = (Document) Jsoup.connect("http://www.sctu.edu.cn").get();
            //System.out.println(document.body());
            Elements element = document.select("li");
            System.out.println(element.get(1));
        } catch (IOException e) {
            e.printStackTrace();
        }

    }
}
